package On_class.L0422;

public class TicketTest {
    public static void main(String[] args) {
        TicketRunnable tr=new TicketRunnable();
        Thread th1=new Thread(tr,"窗口1");
        Thread th2=new Thread(tr,"窗口2");
        Thread th3=new Thread(tr,"窗口3");
        Thread th4=new Thread(tr,"窗口4");
        th1.start();
        th2.start();
        th3.start();
        th4.start();
    }
}
